<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>在线投稿</title>
<style type="text/css">
.header{
float:right;
font-size:16px;
}
form{

margin:20px 60px;
}
</style>
</head>
<body>
<%String username = new String(request.getParameter("username").getBytes("ISO-8859-1"),"utf-8"); %>
<div class="header">欢迎你，<%=username %>&nbsp;&nbsp;<a href="/zaixiantougao/index.jsp">退出登录</a></div>
<ul>

<li><a href="zaixiantougao.jsp?username=<%= username %>">在线投稿</a></li>
<li><a href="wodegaojian.jsp?username=<%= username %>">我的稿件</a></li>
</ul>
<form action="zaixiantougaoservlet?username=<%= username %>" method="post">
<div>标题：<input type="text" name="title">内容：</div>
<textarea name="content" value="请输入内容"  rows="40" cols="140">
    </textarea>
    
<div>注释：<input type="text" name="zhushi">
类别：<input type="text" name="type">
<input type="submit"value="提交"></div>
</form>
</body>
</html>